/* **********************************************************
 * Copyright 2010 Dimitar Vangelovski
 *
 * This file is part of the Gens3 3D Engine.
 * 
 * The Gens3 3D Engine is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 * 
 * The Gens3 3D Engine is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with the Gens3 3D Engine; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA
 * **********************************************************/


#include "common.h"
#include "MapDiffuse.h"

CMapDiffuse::CMapDiffuse()
{
	m_strMapName = "noname";
	m_strBitmap = "nofile";
	m_fUVW_U_Offset = 0.0f;
	m_fUVW_V_Offset = 0.0f;
	m_fUVW_U_Tiling = 1.0f;
	m_fUVW_V_Tiling = 1.0f;
	m_bTransparent = false;
}

CMapDiffuse::CMapDiffuse(const CMapDiffuse &other)
{
	m_strMapName = other.GetMapName();
	m_strBitmap = other.GetBitmap();
	m_fUVW_U_Offset = other.GetUVWUOffset();
	m_fUVW_V_Offset = other.GetUVWVOffset();
	m_fUVW_U_Tiling = other.GetUVWUTiling();
	m_fUVW_V_Tiling = other.GetUVWVTiling();
	m_bTransparent = other.IsTransparent();
}

CMapDiffuse::CMapDiffuse(std::string strMapName, std::string strBitmap, float fUVW_U_Offset, float fUVW_V_Offset, float fUVW_U_Tiling, float fUVW_V_Tiling)
{
	m_strMapName = strMapName;
	m_strBitmap = strBitmap;
	m_fUVW_U_Offset = fUVW_U_Offset;
	m_fUVW_V_Offset = fUVW_V_Offset;
	m_fUVW_U_Tiling = fUVW_U_Tiling;
	m_fUVW_V_Tiling = fUVW_V_Tiling;
	m_bTransparent = false;
}

CMapDiffuse::~CMapDiffuse()
{
}

